<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>SupermarketDemo</title>
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<link
	href="${pageContext.request.contextPath}/static/css/bootstrap.min.css"
	rel="stylesheet">
<link
	href="${pageContext.request.contextPath}/static/css/bootstrap-responsive.min.css"
	rel="stylesheet">
<link
	href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,400,600"
	rel="stylesheet">
<link
	href="${pageContext.request.contextPath}/static/css/font-awesome.css"
	rel="stylesheet">
<link href="${pageContext.request.contextPath}/static/css/style.css"
	rel="stylesheet">
<link
	href="${pageContext.request.contextPath}/static/css/pages/dashboard.css"
	rel="stylesheet">

<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

</head>
<body>
	<!-- 头部开始 -->
	<%@include file="/common/head.jsp"%>
	<!-- 头部结束 -->
	<!-- /navbar -->
	<div class="subnavbar">
		<div class="subnavbar-inner">
			<div class="container">
				<ul class="mainnav">

					<li><a href="${pageContext.request.contextPath}/deptG"><i class="icon-group"></i><span>部门管理</span>
					</a></li>
					<li><a
						href="${pageContext.request.contextPath}/Vendor"><i
							class="icon-truck"></i><span>供应商管理</span> </a></li>
					<li class="active"><a href="charts.html"><i class="icon-copy"></i><span>票据管理</span>
					</a></li>
					<li><a href="shortcodes.html"><i class=" icon-paste"></i><span>缴费管理</span>
					</a></li>
					<li></li>
				</ul>
			</div>
			<!-- /container -->
		</div>
		<!-- /subnavbar-inner -->
		<br>

	</div>
	<!-- /subnavbar -->
	<div class="page-content-area">
		<div class="row">
			<div class="col-xs-12">
				<form
					action="${pageContext.request.contextPath}/listbill?method=2&&id=${bill.id }"
					method="post" id="number">
					<!-- PAGE CONTENT BEGINS -->
					<table id="sample-table-1"
						class="table table-striped table-bordered table-hover text-center">
						<thead>
							<tr>
								<th class="center"><label class="position-relation">

								</label></th>
								<th></th>
								<th>部门列表</th>
								<th>资金</th>
								<th>全选 <input id="All_check" type="checkbox" />
								</th>

								<th></th>
							</tr>
						</thead>
						<tbody>
							<c:forEach items="${deptlist }" var="dept">
								<tr>
									<td class="center"><label class="position-relation">
									</label></td>
									<td></td>
									<td>${dept.departmentName}</td>
									<td><input type="text" id="num" class="text" name="num" size="3"
										maxlength="4" value="0" /></td>
									<td><input name="num_check" class="checkbox"
										type="checkbox" /></td>



								</tr>

							</c:forEach>
							<tr>
								<td class="center"><label class="position-relation">
								</label></td>
								<td></td>
								<td></td>
								<td></td>
								<td>总计：<input type="text" id="total" name="total" size="2"
									maxlength="2" value="0" readonly="readonly" /></td>
							</tr>
						</tbody>
					</table>
					<span style="color: green" id="txtAddBillSucc">${AddBill_success }</span>
					<span style="color: red" id="txtAddBillErr">${AddBill_err }</span>
					<div class="login-actions" style="">
						<a href="${pageContext.request.contextPath}/listbill?method=1&&id=${bill.id }">
							<input type="button" id="btncleanCheck"
							class="button btn btn-danger btn-large pull-right" value="取消" />
						</a> <input type="submit" id="btnAddCheck"
							class="button btn btn-primary btn-large pull-right" value="添加" />
					</div>
				</form>
			</div>

			<!-- /.col -->
		</div>
	</div>
	<!-- /main-inner -->
	<!-- /main -->
	<p></p>
	<div style="float: right; text-align: right;" id="pagination"></div>

	<!-- /footer -->
	<!-- Le javascript
================================================== -->
	<!-- Placed at the end of the document so the pages load faster -->
	<script
		src="${pageContext.request.contextPath}/static/js/jquery-1.7.2.min.js"></script>
	<script
		src="${pageContext.request.contextPath}/static/js/excanvas.min.js"></script>
	<script src="${pageContext.request.contextPath}/static/js/chart.min.js"
		type="text/javascript"></script>
	<script src="${pageContext.request.contextPath}/static/js/bootstrap.js"></script>
	<script language="javascript" type="text/javascript"
		src="${pageContext.request.contextPath}/static/js/full-calendar/fullcalendar.min.js"></script>

	<script src="${pageContext.request.contextPath}/static/js/base.js"></script>
	<script src="${pageContext.request.contextPath}/js/Totalprice.js"></script>
	
	<script src="${pageContext.request.contextPath}/js/Validate.js"></script>
		<script src="http://static.runoob.com/assets/jquery-validation-1.14.0/dist/localization/messages_zh.js"></script>

</body>
</html>
